package com.hu.dao;

import com.hu.entity.pojo.QuestionEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("customQuestionDao")
public interface QuestionDao extends JpaRepository<QuestionEntity,Long> {

    List<QuestionEntity> findQuestionEntitiesByGeneratorId(String generateId);
}
